package com.atguigu.structure.facade;

public class Mouse {
    private static Mouse mouse =new Mouse();

    public static Mouse getInstance(){
        return Mouse.mouse;
    }

    public void use(){
        System.out.println(this.getClass().getSimpleName()+" "+Thread.currentThread().getStackTrace()[1].getMethodName());
    }

}
